{template header}
<div class="container">


<ol class="breadcrumb">
  <li><a href="{SITE_URL}">首页</a></li>
  <li><a href="{tsUrl('ask')}">问答</a></li>
  <li class="active">提新问题</li>
</ol>


<div class="panel panel-default">
  <div class="panel-body">

<div class="row">
    <div class="col-md-8">
        <div class="main-title-b">
            <div class="main-title">
                <h1>提新问题</h1>
            </div>
        </div>
        <div class="editor post_box">
            <form method="POST" action="{SITE_URL}index.php?app=ask&ac=new&ts=do" id="editor">
                <div class="editor-l fix editor-l-fix">
                    <h2>问题</h2>
                    <input type="text" id="editorTitle" class="b_txt" maxlength="64" name="title" autocomplete="off">
                </div>
                <div class="editor-l">
                    <h2>补充说明</h2>
                    <div class="editor-content">
                        <textarea style="width:100%;font-size:14px;" id="tseditor" name="content"></textarea>
                    </div>
                </div>
                <div class="editor-l editor-tags">
                    <h2>分类</h2>
                    <div class="pack">
                        <p class="editor-tags-i">将问题投递到正确的分类会有助于更快的获得解答</p>
                        <div id="tags" class="fix">
                        {loop $arrCate $v}
                        <a data-id="{$v['cateid']}" class="tag" href="javascript:void 0;">{$v['catename']}</a>
                        {/loop}
                        </div>
                    </div>
                </div>
                
                <div class="editor-do">
                    <div class="fl">
                        
  
                    </div>
                    <div class="fr">
                        <a href="{tsUrl('ask')}">取消</a>
                        <input type="submit" value="发 布" title="发布" class="editor-bt bg_btn">
                    </div>
                </div>
            </form>
        </div>
    </div>

    <div class="col-md-4">
<div class="side-title"><h2>提一个好问题</h2></div>
        <div class="side-askqa">
            <p>以下要点可以方便你更快寻求到靠谱的答案：</p>
            <ul>
              <li>请先搜索是否已经有同类问题得到解决；</li>
              <li>请在标题使用更精确的描述定义你的问题，而不要“详情请入内”；</li>
              <li>用户更热衷于回答能引起思考和讨论的知识性问题；</li>
              <!--<li>提问时，@相关领域的达人们，会让他们更快关注到你的问题；</li>-->
            </ul>
            <a  href="{tsUrl('ask', 'help')}">问答详细指南&gt;&gt;</a>
        </div>
    </div>
</div>
</div>
</div>
</div>
{php doAction('tseditor','mini')}
{template footer}